Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00158/0.001581, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.613/2.613, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.739/4.739, allocations: 409.2 MB / 0.6838 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005825/0.0005826, allocations: 8 kB / 0.8375 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.637/1.637, allocations: 146.8 MB / 0.9809 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.006554/1.644, allocations: 2.714 MB / 0.9835 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003346/1.648, allocations: 1.267 MB / 0.9848 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002515/1.648, allocations: 11.94 kB / 0.9848 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002859/1.648, allocations: 35.77 kB / 0.9848 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005832/1.649, allocations: 111.6 kB / 0.9849 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005486/1.649, allocations: 103.7 kB / 0.985 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000471/1.65, allocations: 187.6 kB / 0.9852 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006334/1.65, allocations: 225 kB / 0.9854 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000267/1.651, allocations: 95.69 kB / 0.9855 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004196/1.651, allocations: 99.59 kB / 0.9856 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.542e-05/1.651, allocations: 12 kB / 0.9856 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003152/1.652, allocations: 79.83 kB / 0.9857 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001187/1.652, allocations: 71.8 kB / 0.9857 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001238/1.652, allocations: 69.58 kB / 0.9858 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005278/1.652, allocations: 257.6 kB / 0.9861 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/1.652, allocations: 0 / 0.9861 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.757e-06/1.652, allocations: 0 / 0.9861 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.408e-05/1.652, allocations: 0 / 0.9861 GB, free: 0.9219 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001576/1.654, allocations: 0.5067 MB / 0.9865 GB, free: 376 kB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 8.791e-05/1.654, allocations: 8.031 kB / 0.9866 GB, free: 368 kB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001306/1.654, allocations: 54.55 kB / 0.9866 GB, free: 304 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/1.655, allocations: 87.62 kB / 0.9867 GB, free: 216 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006003/1.656, allocations: 248.1 kB / 0.9869 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.427e-05/1.656, allocations: 20.39 kB / 0.9869 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.058e-05/1.656, allocations: 16 kB / 0.987 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009211/1.657, allocations: 316.3 kB / 0.9873 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/1.657, allocations: 0 / 0.9873 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.61e-05/1.657, allocations: 12 kB / 0.9873 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.844e-05/1.657, allocations: 12.44 kB / 0.9873 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005859/1.658, allocations: 221.5 kB / 0.9875 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003025/1.661, allocations: 1.498 MB / 0.989 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000644/1.661, allocations: 215.6 kB / 0.9892 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/1.661, allocations: 0 / 0.9892 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/1.661, allocations: 34.56 kB / 0.9892 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/1.661, allocations: 3.938 kB / 0.9892 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of matching and sorting (n=8): time 0.001011/1.662, allocations: 263.3 kB / 0.9895 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/1.663, allocations: 59.39 kB / 0.9895 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005342/1.663, allocations: 199.8 kB / 0.9897 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.801e-05/1.663, allocations: 29.7 kB / 0.9897 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002891/1.663, allocations: 175.6 kB / 0.9899 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.541e-05/1.664, allocations: 27.64 kB / 0.9899 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.063e-05/1.664, allocations: 3.938 kB / 0.9899 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0003993/1.664, allocations: 330.8 kB / 0.9902 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/1.664, allocations: 51.97 kB / 0.9903 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/1.664, allocations: 109.8 kB / 0.9904 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/1.665, allocations: 63.92 kB / 0.9905 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/1.665, allocations: 0 / 0.9905 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007558/1.665, allocations: 218.1 kB / 0.9907 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.159e-05/1.665, allocations: 8 kB / 0.9907 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/1.665, allocations: 4 kB / 0.9907 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003019/1.666, allocations: 32.83 kB / 0.9907 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/1.666, allocations: 40.16 kB / 0.9907 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001881/1.668, allocations: 1.339 MB / 0.9921 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/1.668, allocations: 15.84 kB / 0.9921 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001798/1.668, allocations: 11.98 kB / 0.9921 GB, free: 10.16 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002555/1.669, allocations: 141.8 kB / 0.9922 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.19e-05/1.669, allocations: 15.81 kB / 0.9922 GB, free: 10 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.55e-05/1.669, allocations: 21.39 kB / 0.9923 GB, free: 9.984 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.218e-06/1.669, allocations: 7.953 kB / 0.9923 GB, free: 9.977 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/1.669, allocations: 4.062 kB / 0.9923 GB, free: 9.973 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.669, allocations: 0 / 0.9923 GB, free: 9.973 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009986/1.67, allocations: 495 kB / 0.9927 GB, free: 9.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.67, allocations: 0 / 0.9927 GB, free: 9.43 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.991e-05/1.67, allocations: 16.08 kB / 0.9928 GB, free: 9.414 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001209/1.67, allocations: 32.78 kB / 0.9928 GB, free: 9.379 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/1.67, allocations: 7.984 kB / 0.9928 GB, free: 9.371 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001858/1.672, allocations: 1.323 MB / 0.9941 GB, free: 7.918 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/1.672, allocations: 0 / 0.9941 GB, free: 7.918 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005434/1.672, allocations: 244 kB / 0.9943 GB, free: 7.66 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/1.673, allocations: 100.9 kB / 0.9944 GB, free: 7.543 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/1.673, allocations: 192 / 0.9944 GB, free: 7.543 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/1.673, allocations: 15.98 kB / 0.9944 GB, free: 7.527 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.534e-05/1.673, allocations: 7.984 kB / 0.9944 GB, free: 7.52 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/1.673, allocations: 4 kB / 0.9944 GB, free: 7.516 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001962/1.673, allocations: 140.2 kB / 0.9946 GB, free: 7.379 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.71e-07/1.673, allocations: 0 / 0.9946 GB, free: 7.379 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005787/1.674, allocations: 55.84 kB / 0.9946 GB, free: 7.324 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009562/1.675, allocations: 0.7755 MB / 0.9954 GB, free: 6.52 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006681/1.675, allocations: 242.7 kB / 0.9956 GB, free: 6.27 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/1.675, allocations: 0 / 0.9956 GB, free: 6.27 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003101/1.676, allocations: 162.7 kB / 0.9958 GB, free: 6.098 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005133/1.676, allocations: 33.59 kB / 0.9958 GB, free: 6.066 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004348/1.681, allocations: 2.49 MB / 0.9982 GB, free: 3.484 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006651/1.681, allocations: 0.7596 MB / 0.999 GB, free: 2.699 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000194/1.682, allocations: 29.53 kB / 0.999 GB, free: 2.672 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/1.682, allocations: 55.42 kB / 0.9991 GB, free: 2.617 MB / 0.7481 GB Notification: Performance of SimCode: time 1.403e-06/1.682, allocations: 0 / 0.9991 GB, free: 2.617 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06532/1.747, allocations: 3.607 MB / 1.003 GB, free: 15.19 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005619/1.748, allocations: 206.7 kB / 1.003 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.759/5.507, allocations: 4.062 kB / 1.003 GB, free: 14.95 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat does not exist to compare? outputFormat=mat