Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.HeatTransfer.Examples.ConductorStepResponse,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorStepResponse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorStepResponse,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorStepResponse",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.0008744/0.0008743, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009831/0.0009832, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 223.2 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.388/2.388, allocations: 390.4 MB / 0.6655 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003697/0.0003697, allocations: 12 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7592/0.7596, allocations: 142.3 MB / 0.9538 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.005318/0.7649, allocations: 4.168 MB / 0.9579 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005781/0.7708, allocations: 3.088 MB / 0.9609 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001352/0.7721, allocations: 18.88 kB / 0.9609 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001782/0.774, allocations: 455.6 kB / 0.9614 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001792/0.7758, allocations: 0.6293 MB / 0.962 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001585/0.7774, allocations: 0.5028 MB / 0.9625 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003435/0.7808, allocations: 2.456 MB / 0.9649 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004798/0.7813, allocations: 241.7 kB / 0.9651 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001494/0.7828, allocations: 0.733 MB / 0.9658 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001227/0.7841, allocations: 0.7563 MB / 0.9666 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001318/0.7842, allocations: 48.47 kB / 0.9666 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002156/0.7844, allocations: 50.62 kB / 0.9667 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000571/0.785, allocations: 479.3 kB / 0.9671 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004043/0.7854, allocations: 314 kB / 0.9674 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001314/0.7867, allocations: 1.285 MB / 0.9687 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.7868, allocations: 1.344 kB / 0.9687 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7868, allocations: 0 / 0.9687 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.702e-05/0.7868, allocations: 0 / 0.9687 GB, free: 13.58 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.003338/0.7901, allocations: 1.725 MB / 0.9703 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.7902, allocations: 13.47 kB / 0.9704 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001334/0.7903, allocations: 86.83 kB / 0.9704 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000358/0.7907, allocations: 170.1 kB / 0.9706 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002169/0.7929, allocations: 1.073 MB / 0.9717 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.883e-05/0.793, allocations: 58.34 kB / 0.9717 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.7931, allocations: 77.5 kB / 0.9718 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.7943, allocations: 0.5608 MB / 0.9723 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.7943, allocations: 4.906 kB / 0.9723 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.897e-05/0.7944, allocations: 20.7 kB / 0.9724 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.549e-05/0.7944, allocations: 11.38 kB / 0.9724 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006996/0.7951, allocations: 361.9 kB / 0.9727 GB, free: 10.79 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005883/0.801, allocations: 3.902 MB / 0.9765 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.8023, allocations: 0.5039 MB / 0.977 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003365/0.8027, allocations: 190.9 kB / 0.9772 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.8027, allocations: 11.09 kB / 0.9772 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.8028, allocations: 35.88 kB / 0.9772 GB, free: 7 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 5e-06/0.8028, allocations: 3.938 kB / 0.9772 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.002517/0.8053, allocations: 1.101 MB / 0.9783 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.8054, allocations: 54.97 kB / 0.9784 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002833/0.8082, allocations: 1.783 MB / 0.9801 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.585e-05/0.8083, allocations: 45.7 kB / 0.9802 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005672/0.8089, allocations: 0.5802 MB / 0.9807 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/0.8091, allocations: 114.4 kB / 0.9808 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/0.8091, allocations: 24 kB / 0.9809 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.8093, allocations: 349.9 kB / 0.9812 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005105/0.8098, allocations: 322.4 kB / 0.9815 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008994/0.8107, allocations: 0.9442 MB / 0.9824 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006892/0.8114, allocations: 464.9 kB / 0.9829 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.118e-05/0.8114, allocations: 8 kB / 0.9829 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002449/0.8139, allocations: 1.445 MB / 0.9843 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.599e-05/0.8139, allocations: 16.94 kB / 0.9843 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.739e-05/0.814, allocations: 24 kB / 0.9843 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006156/0.8146, allocations: 202.6 kB / 0.9845 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006816/0.8153, allocations: 235.6 kB / 0.9847 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003864/0.8191, allocations: 4.678 MB / 0.9893 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/0.8209, allocations: 182.4 kB / 0.9895 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.771e-05/0.821, allocations: 63.98 kB / 0.9895 GB, free: 10.16 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * 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 (122): * Single equations (assignments): 119 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000785/0.8218, allocations: 493.1 kB / 0.99 GB, free: 9.672 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002483/0.822, allocations: 134.2 kB / 0.9901 GB, free: 9.539 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000208/0.8222, allocations: 126.4 kB / 0.9903 GB, free: 9.414 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.8222, allocations: 4 kB / 0.9903 GB, free: 9.41 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/0.8223, allocations: 0 / 0.9903 GB, free: 9.41 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.8223, allocations: 3.984 kB / 0.9903 GB, free: 9.406 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.8235, allocations: 0.9487 MB / 0.9912 GB, free: 8.406 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.8235, allocations: 4 kB / 0.9912 GB, free: 8.402 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002449/0.8237, allocations: 47.91 kB / 0.9912 GB, free: 8.355 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004827/0.8242, allocations: 162.4 kB / 0.9914 GB, free: 8.188 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.8243, allocations: 8 kB / 0.9914 GB, free: 8.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003686/0.828, allocations: 4.662 MB / 0.996 GB, free: 3.117 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.828, allocations: 8.078 kB / 0.996 GB, free: 3.109 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.8294, allocations: 0.8952 MB / 0.9968 GB, free: 2.188 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005633/0.83, allocations: 303.1 kB / 0.9971 GB, free: 1.871 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/0.8301, allocations: 11.98 kB / 0.9971 GB, free: 1.859 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005501/0.8307, allocations: 47.88 kB / 0.9972 GB, free: 1.812 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.276e-05/0.8308, allocations: 27.95 kB / 0.9972 GB, free: 1.785 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.8308, allocations: 4 kB / 0.9972 GB, free: 1.781 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00178/0.8326, allocations: 1.208 MB / 0.9984 GB, free: 0.5781 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8326, allocations: 0 / 0.9984 GB, free: 0.5781 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001386/0.834, allocations: 383.6 kB / 0.9988 GB, free: 208 kB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (conMul.lay[2].T[1],conMul.lay[2].T[2],con2.T[1],con2.T[2]) * 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 (19): * Single equations (assignments): 16 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001547/0.8356, allocations: 1.447 MB / 1 GB, free: 14.72 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001736/0.8373, allocations: 1.113 MB / 1.001 GB, free: 13.57 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.8373, allocations: 0 / 1.001 GB, free: 13.57 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0006964/0.838, allocations: 0.5714 MB / 1.002 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/0.8396, allocations: 321.5 kB / 1.002 GB, free: 12.64 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01569/0.8553, allocations: 9.679 MB / 1.012 GB, free: 2.316 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009453/0.8563, allocations: 1.312 MB / 1.013 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0007457/0.857, allocations: 248.8 kB / 1.013 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006012/0.8576, allocations: 487.3 kB / 1.014 GB, free: 256 kB / 0.7637 GB Notification: Performance of SimCode: time 1.312e-06/0.8576, allocations: 0 / 1.014 GB, free: 256 kB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06788/0.9255, allocations: 28.05 MB / 1.041 GB, free: 4.625 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002533/0.9258, allocations: 216.8 kB / 1.041 GB, free: 4.371 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.662/3.588, allocations: 0 / 1.041 GB, free: 4.371 MB / 0.795 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorStepResponse_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorStepResponse.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.mat does not exist to compare? outputFormat=mat