Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor",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.003712/0.003713, allocations: 101 kB / 15.73 MB, free: 6.062 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.001102/0.001102, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.258/1.258, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002331/0.002331, allocations: 279 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9207/0.9207, allocations: 169.2 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002554/0.002554, allocations: 103.8 kB / 0.6809 GB, free: 7.492 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3754, allocations: 86.98 MB / 0.7659 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.002845/0.3783, allocations: 1.692 MB / 0.7675 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007534/0.379, allocations: 0.5136 MB / 0.768 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.013e-05/0.3791, allocations: 0 / 0.768 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000416/0.3795, allocations: 143.4 kB / 0.7682 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.363e-05/0.3796, allocations: 51.73 kB / 0.7682 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.3798, allocations: 71.72 kB / 0.7683 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.38, allocations: 99.5 kB / 0.7684 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.203e-05/0.38, allocations: 15.78 kB / 0.7684 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.42e-05/0.3801, allocations: 27.86 kB / 0.7684 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.864e-05/0.3802, allocations: 51.77 kB / 0.7685 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.3802, allocations: 4 kB / 0.7685 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001717/0.3804, allocations: 91.83 kB / 0.7686 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.14e-05/0.3805, allocations: 67.73 kB / 0.7686 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.155e-05/0.3805, allocations: 59.56 kB / 0.7687 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002601/0.3808, allocations: 184.5 kB / 0.7689 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3808, allocations: 0 / 0.7689 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3808, allocations: 0 / 0.7689 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.3808, allocations: 0 / 0.7689 GB, free: 0.793 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005988/0.3814, allocations: 0.4941 MB / 0.7694 GB, free: 256 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.3815, allocations: 12.03 kB / 0.7694 GB, free: 244 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.337e-05/0.3815, allocations: 30.75 kB / 0.7694 GB, free: 204 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.806e-05/0.3816, allocations: 20.84 kB / 0.7694 GB, free: 184 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.3817, allocations: 219.9 kB / 0.7696 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.3818, allocations: 384 / 0.7696 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.3818, allocations: 384 / 0.7696 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.382, allocations: 69.97 kB / 0.7697 GB, free: 15.85 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.382, allocations: 4 kB / 0.7697 GB, free: 15.85 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.382, allocations: 4 kB / 0.7697 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.382, allocations: 0 / 0.7697 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.3822, allocations: 59.94 kB / 0.7698 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/0.3826, allocations: 332.8 kB / 0.7701 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.3828, allocations: 70.48 kB / 0.7701 GB, free: 15.33 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.914e-05/0.3829, allocations: 36.89 kB / 0.7702 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.513e-05/0.3829, allocations: 12 kB / 0.7702 GB, free: 15.28 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.383, allocations: 34.56 kB / 0.7702 GB, free: 15.24 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.383, allocations: 0 / 0.7702 GB, free: 15.24 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003684/0.3834, allocations: 141.6 kB / 0.7704 GB, free: 15.09 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.3834, allocations: 55.39 kB / 0.7704 GB, free: 15.03 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/0.3836, allocations: 254.7 kB / 0.7707 GB, free: 14.78 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.3837, allocations: 25.7 kB / 0.7707 GB, free: 14.75 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.489e-05/0.3838, allocations: 136.1 kB / 0.7708 GB, free: 14.61 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.3838, allocations: 3.953 kB / 0.7708 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/0.3838, allocations: 13.72 kB / 0.7708 GB, free: 14.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.384, allocations: 334.8 kB / 0.7711 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.753e-05/0.3841, allocations: 27.98 kB / 0.7712 GB, free: 14.22 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.039e-05/0.3842, allocations: 31.97 kB / 0.7712 GB, free: 14.19 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.3843, allocations: 64.75 kB / 0.7713 GB, free: 14.12 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3843, allocations: 0 / 0.7713 GB, free: 14.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002181/0.3846, allocations: 113.5 kB / 0.7714 GB, free: 14.01 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3846, allocations: 8 kB / 0.7714 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.3846, allocations: 0 / 0.7714 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.3846, allocations: 0 / 0.7714 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-05/0.3847, allocations: 4 kB / 0.7714 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.3847, allocations: 15.91 kB / 0.7714 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.937e-05/0.3848, allocations: 3.938 kB / 0.7714 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-06/0.3848, allocations: 8 kB / 0.7714 GB, free: 13.97 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.3849, allocations: 140.2 kB / 0.7715 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.668e-05/0.3849, allocations: 19.86 kB / 0.7716 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002612/0.3852, allocations: 122.4 kB / 0.7717 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3852, allocations: 0 / 0.7717 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3852, allocations: 0 / 0.7717 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3852, allocations: 0 / 0.7717 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/0.3855, allocations: 221.5 kB / 0.7719 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.3855, allocations: 32 / 0.7719 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.548e-05/0.3856, allocations: 15.98 kB / 0.7719 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.3856, allocations: 0 / 0.7719 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.77e-06/0.3856, allocations: 0 / 0.7719 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3856, allocations: 0 / 0.7719 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3856, allocations: 4 kB / 0.7719 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002688/0.3859, allocations: 211.3 kB / 0.7721 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.962e-05/0.3859, allocations: 89.02 kB / 0.7722 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.3859, allocations: 4 kB / 0.7722 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.3861, allocations: 7.984 kB / 0.7722 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.044e-05/0.3861, allocations: 0 / 0.7722 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.3861, allocations: 0 / 0.7722 GB, free: 13.05 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001683/0.3863, allocations: 193.9 kB / 0.7724 GB, free: 12.86 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3863, allocations: 0 / 0.7724 GB, free: 12.86 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003379/0.3866, allocations: 31.94 kB / 0.7724 GB, free: 12.83 MB / 0.545 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006398/0.3873, allocations: 0.7746 MB / 0.7732 GB, free: 12.03 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002127/0.3875, allocations: 63.98 kB / 0.7732 GB, free: 11.97 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3875, allocations: 0 / 0.7732 GB, free: 11.97 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.294e-05/0.3876, allocations: 35.91 kB / 0.7733 GB, free: 11.93 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004666/0.3881, allocations: 44.45 kB / 0.7733 GB, free: 11.89 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007497/0.3888, allocations: 402.2 kB / 0.7737 GB, free: 11.46 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.3892, allocations: 0.7353 MB / 0.7744 GB, free: 10.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.829e-05/0.3892, allocations: 11.73 kB / 0.7744 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.836e-05/0.3893, allocations: 47.36 kB / 0.7745 GB, free: 10.64 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.3893, allocations: 8 kB / 0.7745 GB, free: 10.63 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.694/2.084, allocations: 3.975 MB / 0.7784 GB, free: 6.836 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/12.64, allocations: 1.812 kB / 0.7784 GB, free: 6.836 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe 2>&1)