Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.AC.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads",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.001628/0.001628, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 188.1 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.1 MB / 222.5 MB, free: 4.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.733/1.733, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001617, allocations: 76 kB / 0.6718 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2461, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.005676/0.2518, allocations: 4.214 MB / 0.7877 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004187/0.256, allocations: 2.677 MB / 0.7904 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003077/0.2563, allocations: 11.94 kB / 0.7904 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.2575, allocations: 381.3 kB / 0.7907 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0009584/0.2585, allocations: 386.2 kB / 0.7911 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.2597, allocations: 0.5107 MB / 0.7916 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007653/0.2604, allocations: 0.7007 MB / 0.7923 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005094/0.261, allocations: 343.3 kB / 0.7926 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003412/0.2613, allocations: 271 kB / 0.7929 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005044/0.2618, allocations: 338.7 kB / 0.7932 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.192e-05/0.2619, allocations: 40 kB / 0.7932 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005786/0.2625, allocations: 315.3 kB / 0.7935 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001815/0.2627, allocations: 191.5 kB / 0.7937 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002351/0.2629, allocations: 250.7 kB / 0.794 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007415/0.2637, allocations: 0.7164 MB / 0.7947 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2637, allocations: 0 / 0.7947 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2637, allocations: 0 / 0.7947 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.296e-05/0.2637, allocations: 4 kB / 0.7947 GB, free: 1.895 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001298/0.265, allocations: 0.799 MB / 0.7954 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.2651, allocations: 12.03 kB / 0.7954 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.945e-05/0.2652, allocations: 86.69 kB / 0.7955 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008759/0.2661, allocations: 148.1 kB / 0.7957 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005021/0.2666, allocations: 367.1 kB / 0.796 GB, free: 408 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.621e-05/0.2666, allocations: 37.36 kB / 0.7961 GB, free: 372 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.077e-05/0.2667, allocations: 40.36 kB / 0.7961 GB, free: 332 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.2679, allocations: 0.8252 MB / 0.7969 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.2679, allocations: 7.938 kB / 0.7969 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.936e-05/0.268, allocations: 20 kB / 0.7969 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.571e-05/0.268, allocations: 60.55 kB / 0.797 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.2691, allocations: 0.6423 MB / 0.7976 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003737/0.2729, allocations: 4.623 MB / 0.8021 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008944/0.2738, allocations: 497 kB / 0.8026 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004695/0.2743, allocations: 281.5 kB / 0.8029 GB, free: 8.906 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.2743, allocations: 7.984 kB / 0.8029 GB, free: 8.898 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.2744, allocations: 38.5 kB / 0.8029 GB, free: 8.852 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 1.933e-06/0.2744, allocations: 0 / 0.8029 GB, free: 8.852 MB / 0.6231 GB Notification: Performance of matching and sorting (n=34): time 0.001746/0.2761, allocations: 0.8633 MB / 0.8038 GB, free: 7.98 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.2762, allocations: 85.09 kB / 0.8038 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003502/0.2766, allocations: 365.5 kB / 0.8042 GB, free: 7.512 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.2766, allocations: 29.7 kB / 0.8042 GB, free: 7.477 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/0.2768, allocations: 287 kB / 0.8045 GB, free: 7.188 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.941e-05/0.2769, allocations: 122.3 kB / 0.8046 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/0.2771, allocations: 114 kB / 0.8047 GB, free: 6.949 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.2772, allocations: 354.7 kB / 0.8051 GB, free: 6.594 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000456/0.2777, allocations: 254.9 kB / 0.8053 GB, free: 6.34 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006215/0.2783, allocations: 474.6 kB / 0.8058 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.2794, allocations: 0.7543 MB / 0.8065 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.2794, allocations: 4 kB / 0.8065 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001303/0.2807, allocations: 0.7661 MB / 0.8072 GB, free: 4.145 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.2808, allocations: 8 kB / 0.8072 GB, free: 4.137 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.2808, allocations: 8 kB / 0.8073 GB, free: 4.129 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.2808, allocations: 15.94 kB / 0.8073 GB, free: 4.113 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006961/0.2815, allocations: 159.7 kB / 0.8074 GB, free: 3.957 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/0.2815, allocations: 11.94 kB / 0.8074 GB, free: 3.945 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004378/0.282, allocations: 76.17 kB / 0.8075 GB, free: 3.871 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.22e-05/0.282, allocations: 24 kB / 0.8075 GB, free: 3.848 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005507/0.2826, allocations: 353 kB / 0.8079 GB, free: 3.5 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005539/0.2831, allocations: 433.4 kB / 0.8083 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001006/0.2842, allocations: 0.666 MB / 0.8089 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.558e-06/0.2842, allocations: 0 / 0.8089 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001271/0.2855, allocations: 0.6599 MB / 0.8096 GB, free: 1.527 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.2855, allocations: 12 kB / 0.8096 GB, free: 1.516 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.2855, allocations: 12 kB / 0.8096 GB, free: 1.504 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.2855, allocations: 12 kB / 0.8096 GB, free: 1.492 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000541/0.2861, allocations: 143.7 kB / 0.8097 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/0.2861, allocations: 15.98 kB / 0.8098 GB, free: 1.336 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004657/0.2866, allocations: 51.8 kB / 0.8098 GB, free: 1.285 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.482e-05/0.2866, allocations: 32 kB / 0.8098 GB, free: 1.254 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (67): * Single equations (assignments): 67 * 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.0002674/0.2869, allocations: 223.9 kB / 0.8101 GB, free: 1.027 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.287, allocations: 39.53 kB / 0.8101 GB, free: 0.9883 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/0.2882, allocations: 0.5649 MB / 0.8106 GB, free: 428 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.2882, allocations: 4 kB / 0.8106 GB, free: 424 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.2882, allocations: 0 / 0.8106 GB, free: 424 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.2883, allocations: 3.984 kB / 0.8107 GB, free: 420 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002594/0.2909, allocations: 1.608 MB / 0.8122 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.2909, allocations: 4 kB / 0.8122 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005376/0.2914, allocations: 112.2 kB / 0.8123 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/0.2915, allocations: 8 kB / 0.8123 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.493e-05/0.2915, allocations: 12 kB / 0.8124 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.636e-06/0.2915, allocations: 4 kB / 0.8124 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.497e-06/0.2915, allocations: 7.984 kB / 0.8124 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.2927, allocations: 0.7874 MB / 0.8131 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002201/0.2929, allocations: 168.4 kB / 0.8133 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-05/0.293, allocations: 19.94 kB / 0.8133 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00038/0.2933, allocations: 47.94 kB / 0.8134 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.095e-05/0.2934, allocations: 27.91 kB / 0.8134 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/0.2935, allocations: 16 kB / 0.8134 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000277/0.2938, allocations: 259.1 kB / 0.8136 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2938, allocations: 0 / 0.8136 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009158/0.2947, allocations: 188 kB / 0.8138 GB, free: 12.98 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (35): * Single equations (assignments): 35 * 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.001384/0.2961, allocations: 1.345 MB / 0.8151 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001752/0.2979, allocations: 0.9244 MB / 0.816 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.962e-06/0.2979, allocations: 4 kB / 0.816 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004981/0.2984, allocations: 268.8 kB / 0.8163 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008388/0.2992, allocations: 129.5 kB / 0.8164 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006325/0.3056, allocations: 4.733 MB / 0.821 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005526/0.3062, allocations: 0.8747 MB / 0.8219 GB, free: 4.266 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005574/0.3067, allocations: 200.1 kB / 0.8221 GB, free: 4.07 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000249/0.307, allocations: 143.4 kB / 0.8222 GB, free: 3.93 MB / 0.6387 GB Notification: Performance of SimCode: time 1.052e-06/0.307, allocations: 0 / 0.8222 GB, free: 3.93 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02645/0.3335, allocations: 9.798 MB / 0.8318 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.777/8.111, allocations: 14.02 kB / 0.8318 GB, free: 10.28 MB / 0.6544 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)