Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise",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.007474/0.007474, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001937/0.001937, allocations: 191.2 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7928/0.7928, allocations: 135.1 MB / 425.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 66.36 kB / 0.5851 GB, free: 21.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1519, allocations: 80.92 MB / 0.6641 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise): time 0.562/0.714, allocations: 166.8 MB / 0.8271 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02393/0.7379, allocations: 16.82 MB / 0.8435 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002068/0.74, allocations: 31.34 kB / 0.8435 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001826/0.7419, allocations: 0.522 MB / 0.844 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004917/0.7469, allocations: 1.499 MB / 0.8455 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003625/0.7505, allocations: 1.278 MB / 0.8467 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003548/0.7541, allocations: 2.367 MB / 0.849 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002749/0.7568, allocations: 1.89 MB / 0.8509 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003916/0.7608, allocations: 1.316 MB / 0.8522 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001497/0.7623, allocations: 0.9001 MB / 0.8531 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003369/0.7626, allocations: 196.4 kB / 0.8532 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003191/0.7658, allocations: 1.406 MB / 0.8546 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005281/0.7664, allocations: 0.5266 MB / 0.8551 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001111/0.7675, allocations: 0.939 MB / 0.856 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005448/0.773, allocations: 2.937 MB / 0.8589 GB, free: 8.031 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.773, allocations: 0 / 0.8589 GB, free: 8.031 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.064e-06/0.773, allocations: 0 / 0.8589 GB, free: 8.031 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.316e-05/0.7731, allocations: 0 / 0.8589 GB, free: 8.031 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.004123/0.7772, allocations: 2.151 MB / 0.861 GB, free: 5.82 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.7773, allocations: 9.109 kB / 0.861 GB, free: 5.812 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000288/0.7776, allocations: 244.6 kB / 0.8613 GB, free: 5.562 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003569/0.7812, allocations: 0.5012 MB / 0.8617 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00189/0.7831, allocations: 1.082 MB / 0.8628 GB, free: 3.934 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.7832, allocations: 127.3 kB / 0.8629 GB, free: 3.809 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002101/0.7834, allocations: 163.9 kB / 0.8631 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003204/0.7866, allocations: 1.768 MB / 0.8648 GB, free: 1.828 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.241e-05/0.7866, allocations: 0 / 0.8648 GB, free: 1.828 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/0.7868, allocations: 76 kB / 0.8649 GB, free: 1.754 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.052e-05/0.7869, allocations: 44 kB / 0.8649 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0031/0.79, allocations: 1.827 MB / 0.8667 GB, free: 15.88 MB / 0.6387 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.007637/0.7976, allocations: 5 MB / 0.8716 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002788/0.8004, allocations: 1.656 MB / 0.8732 GB, free: 8.898 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/0.8015, allocations: 0.6202 MB / 0.8738 GB, free: 8.273 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009554/0.8025, allocations: 0.8156 MB / 0.8746 GB, free: 7.293 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001524/0.804, allocations: 0.8177 MB / 0.8754 GB, free: 6.457 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=137): time 2.936e-06/0.804, allocations: 0 / 0.8754 GB, free: 6.457 MB / 0.6387 GB Notification: Performance of matching and sorting (n=137): time 0.005896/0.8099, allocations: 2.431 MB / 0.8778 GB, free: 3.91 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/0.8101, allocations: 197.2 kB / 0.878 GB, free: 3.676 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.8113, allocations: 0.783 MB / 0.8787 GB, free: 2.883 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001458/0.8114, allocations: 57.7 kB / 0.8788 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000557/0.812, allocations: 0.6249 MB / 0.8794 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004021/0.8124, allocations: 457.3 kB / 0.8798 GB, free: 1.73 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003672/0.8128, allocations: 226.8 kB / 0.88 GB, free: 1.504 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.8129, allocations: 353.9 kB / 0.8804 GB, free: 1.152 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000887/0.8138, allocations: 442.4 kB / 0.8808 GB, free: 0.7188 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/0.8149, allocations: 0.5989 MB / 0.8814 GB, free: 80 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002019/0.8169, allocations: 1.04 MB / 0.8824 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.8169, allocations: 0 / 0.8824 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003251/0.8202, allocations: 1.417 MB / 0.8838 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.8202, allocations: 11.94 kB / 0.8838 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.8203, allocations: 0 / 0.8838 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008872/0.8212, allocations: 188.2 kB / 0.884 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/0.8226, allocations: 319.5 kB / 0.8843 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006251/0.8289, allocations: 7.288 MB / 0.8914 GB, free: 5.074 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/0.8302, allocations: 142.8 kB / 0.8915 GB, free: 4.934 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002123/0.8304, allocations: 43.97 kB / 0.8916 GB, free: 4.891 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008824/0.8313, allocations: 356.2 kB / 0.8919 GB, free: 4.535 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004408/0.8318, allocations: 126.5 kB / 0.892 GB, free: 4.41 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00415/0.8359, allocations: 1.748 MB / 0.8938 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.836, allocations: 12 kB / 0.8938 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.836, allocations: 4 kB / 0.8938 GB, free: 2.621 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.836, allocations: 8.062 kB / 0.8938 GB, free: 2.613 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006089/0.8421, allocations: 3.257 MB / 0.897 GB, free: 15.27 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.8421, allocations: 7.938 kB / 0.897 GB, free: 15.27 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00136/0.8435, allocations: 307.6 kB / 0.8973 GB, free: 14.96 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007747/0.8443, allocations: 184.1 kB / 0.8974 GB, free: 14.77 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/0.8444, allocations: 35.97 kB / 0.8975 GB, free: 14.73 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005821/0.8502, allocations: 7.307 MB / 0.9046 GB, free: 6.723 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.8503, allocations: 7.875 kB / 0.9046 GB, free: 6.715 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003958/0.8542, allocations: 1.622 MB / 0.9062 GB, free: 5.059 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008749/0.8551, allocations: 383.1 kB / 0.9066 GB, free: 4.664 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002996/0.8554, allocations: 31.98 kB / 0.9066 GB, free: 4.633 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/0.8566, allocations: 91.5 kB / 0.9067 GB, free: 4.547 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002309/0.8569, allocations: 101.2 kB / 0.9068 GB, free: 4.445 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001761/0.857, allocations: 63.95 kB / 0.9068 GB, free: 4.383 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009508/0.858, allocations: 0.55 MB / 0.9074 GB, free: 3.82 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.31e-07/0.858, allocations: 4 kB / 0.9074 GB, free: 3.816 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001913/0.8599, allocations: 0.5531 MB / 0.9079 GB, free: 3.262 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005578/0.8655, allocations: 2.763 MB / 0.9106 GB, free: 0.6406 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003459/0.869, allocations: 1.75 MB / 0.9123 GB, free: 14.83 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.869, allocations: 4.797 kB / 0.9123 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001905/0.8709, allocations: 1.258 MB / 0.9136 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/0.8736, allocations: 0.5028 MB / 0.914 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02059/0.8942, allocations: 9.535 MB / 0.9234 GB, free: 3.312 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/0.8953, allocations: 1.269 MB / 0.9246 GB, free: 2.012 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001592/0.8969, allocations: 429.8 kB / 0.925 GB, free: 1.59 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008876/0.8978, allocations: 0.6242 MB / 0.9256 GB, free: 0.9688 MB / 0.6856 GB Notification: Performance of SimCode: time 4.21e-07/0.8978, allocations: 0 / 0.9256 GB, free: 0.9688 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1003/0.9981, allocations: 35.3 MB / 0.9601 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.76/14.76, allocations: 10.73 kB / 0.9601 GB, free: 13.97 MB / 0.7325 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)