Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.607/2.607, allocations: 287.3 MB / 302.3 MB, free: 8.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001552/0.001552, allocations: 190.7 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.064/2.064, allocations: 205.4 MB / 0.6295 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00113/0.001129, allocations: 96.61 kB / 0.7428 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006524/0.0006524, allocations: 18.84 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2498, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9579/1.208, allocations: 153.9 MB / 1.129 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/1.208, allocations: 88.55 kB / 1.129 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05029/1.258, allocations: 13.45 MB / 1.142 GB, free: 26.84 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.275e-06/1.258, allocations: 0 / 1.142 GB, free: 26.84 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.079e-05/1.258, allocations: 3.844 kB / 1.142 GB, free: 26.84 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0009833/1.259, allocations: 0.4903 MB / 1.142 GB, free: 26.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/1.26, allocations: 11.48 kB / 1.142 GB, free: 26.38 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000106/1.26, allocations: 55.83 kB / 1.142 GB, free: 26.33 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/1.261, allocations: 81.31 kB / 1.142 GB, free: 26.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004712/1.261, allocations: 238.8 kB / 1.143 GB, free: 26.07 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/1.261, allocations: 10.88 kB / 1.143 GB, free: 26.07 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.564e-05/1.261, allocations: 10.59 kB / 1.143 GB, free: 26.07 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007728/1.262, allocations: 304.6 kB / 1.143 GB, free: 25.92 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/1.262, allocations: 3.906 kB / 1.143 GB, free: 25.92 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.521e-05/1.262, allocations: 6.859 kB / 1.143 GB, free: 25.92 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.442e-05/1.262, allocations: 26.25 kB / 1.143 GB, free: 25.91 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008138/1.263, allocations: 273.6 kB / 1.143 GB, free: 25.85 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002475/1.266, allocations: 1.512 MB / 1.145 GB, free: 24.54 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007372/1.266, allocations: 256.7 kB / 1.145 GB, free: 24.45 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/1.266, allocations: 0 / 1.145 GB, free: 24.45 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/1.266, allocations: 42.36 kB / 1.145 GB, free: 24.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.763e-06/1.266, allocations: 0 / 1.145 GB, free: 24.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.00125/1.268, allocations: 359.3 kB / 1.145 GB, free: 24.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.004e-05/1.268, allocations: 81.09 kB / 1.145 GB, free: 24.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002238/1.268, allocations: 162.2 kB / 1.146 GB, free: 24.09 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/1.268, allocations: 29.2 kB / 1.146 GB, free: 24.06 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/1.268, allocations: 138 kB / 1.146 GB, free: 23.94 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.023e-05/1.268, allocations: 61.84 kB / 1.146 GB, free: 23.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.467e-05/1.268, allocations: 2.562 kB / 1.146 GB, free: 23.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001652/1.268, allocations: 324.6 kB / 1.146 GB, free: 23.58 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003382/1.269, allocations: 106.5 kB / 1.146 GB, free: 23.56 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003698/1.269, allocations: 165.1 kB / 1.146 GB, free: 23.47 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003801/1.27, allocations: 131.4 kB / 1.147 GB, free: 23.45 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/1.27, allocations: 0 / 1.147 GB, free: 23.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008849/1.271, allocations: 319.1 kB / 1.147 GB, free: 23.35 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003376/1.271, allocations: 0.7013 MB / 1.148 GB, free: 22.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/1.271, allocations: 3.875 kB / 1.148 GB, free: 22.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/1.271, allocations: 7.844 kB / 1.148 GB, free: 22.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005327/1.271, allocations: 65.97 kB / 1.148 GB, free: 22.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/1.272, allocations: 0 / 1.148 GB, free: 22.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003764/1.272, allocations: 38.38 kB / 1.148 GB, free: 22.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/1.272, allocations: 11.72 kB / 1.148 GB, free: 22.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/1.272, allocations: 3.844 kB / 1.148 GB, free: 22.57 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007321/1.273, allocations: 240.7 kB / 1.148 GB, free: 22.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/1.273, allocations: 0 / 1.148 GB, free: 22.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.216e-06/1.273, allocations: 3.781 kB / 1.148 GB, free: 22.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003867/1.273, allocations: 62.23 kB / 1.148 GB, free: 22.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/1.273, allocations: 3.812 kB / 1.148 GB, free: 22.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002694/1.273, allocations: 30.78 kB / 1.148 GB, free: 22.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/1.273, allocations: 7.688 kB / 1.148 GB, free: 22.49 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (23): * Single equations (assignments): 23 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000271/1.274, allocations: 226.2 kB / 1.148 GB, free: 22.29 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.74e-05/1.274, allocations: 11.62 kB / 1.148 GB, free: 22.28 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008363/1.275, allocations: 281.8 kB / 1.148 GB, free: 22.19 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/1.275, allocations: 0 / 1.148 GB, free: 22.19 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/1.275, allocations: 3.844 kB / 1.148 GB, free: 22.19 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/1.275, allocations: 0 / 1.148 GB, free: 22.19 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/1.276, allocations: 0.6956 MB / 1.149 GB, free: 21.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/1.276, allocations: 4 kB / 1.149 GB, free: 21.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004217/1.277, allocations: 51 kB / 1.149 GB, free: 21.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.298e-06/1.277, allocations: 7.953 kB / 1.149 GB, free: 21.71 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/1.277, allocations: 3.562 kB / 1.149 GB, free: 21.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/1.277, allocations: 7.828 kB / 1.149 GB, free: 21.71 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.277, allocations: 3.984 kB / 1.149 GB, free: 21.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009118/1.278, allocations: 0.5096 MB / 1.15 GB, free: 21.32 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/1.278, allocations: 111.1 kB / 1.15 GB, free: 21.22 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.721e-05/1.278, allocations: 7.828 kB / 1.15 GB, free: 21.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003434/1.278, allocations: 22.66 kB / 1.15 GB, free: 21.21 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.646e-05/1.279, allocations: 19.19 kB / 1.15 GB, free: 21.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/1.279, allocations: 3.812 kB / 1.15 GB, free: 21.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001626/1.279, allocations: 140 kB / 1.15 GB, free: 21.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.31e-07/1.279, allocations: 0 / 1.15 GB, free: 21.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006703/1.279, allocations: 95.22 kB / 1.15 GB, free: 21.09 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001508/1.281, allocations: 1.395 MB / 1.151 GB, free: 19.84 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001162/1.282, allocations: 393 kB / 1.152 GB, free: 19.76 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.282, allocations: 0 / 1.152 GB, free: 19.76 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00037/1.283, allocations: 123.4 kB / 1.152 GB, free: 19.73 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004897/1.283, allocations: 26.58 kB / 1.152 GB, free: 19.72 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003409/1.286, allocations: 2.327 MB / 1.154 GB, free: 17.91 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/1.287, allocations: 0.7455 MB / 1.155 GB, free: 17.19 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000382/1.287, allocations: 79.47 kB / 1.155 GB, free: 17.16 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/1.288, allocations: 47.02 kB / 1.155 GB, free: 17.15 MB / 0.698 GB Notification: Performance of SimCode: time 1.373e-06/1.288, allocations: 0 / 1.155 GB, free: 17.15 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03105/1.319, allocations: 3.795 MB / 1.159 GB, free: 15.32 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/1.319, allocations: 196.7 kB / 1.159 GB, free: 15.09 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.49/3.809, allocations: 0 / 1.159 GB, free: 15.09 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)