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.000963/0.000963, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001175/0.001175, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.823/1.823, allocations: 292.7 MB / 0.5499 GB, free: 14.52 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.000585/0.0005851, allocations: 18.72 kB / 0.6738 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3038, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.004508/0.3083, allocations: 3.69 MB / 0.791 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004143/0.3125, allocations: 2.515 MB / 0.7935 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002978/0.3129, allocations: 7.938 kB / 0.7935 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.3131, allocations: 67.42 kB / 0.7935 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0008452/0.314, allocations: 298.7 kB / 0.7938 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.3153, allocations: 415.2 kB / 0.7942 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001043/0.3163, allocations: 0.7943 MB / 0.795 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.3173, allocations: 0.503 MB / 0.7955 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005105/0.3179, allocations: 223.1 kB / 0.7957 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007338/0.3186, allocations: 322.9 kB / 0.796 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.681e-05/0.3187, allocations: 16 kB / 0.796 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005794/0.3193, allocations: 143.8 kB / 0.7962 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002274/0.3195, allocations: 167.5 kB / 0.7963 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001696/0.3197, allocations: 109.4 kB / 0.7964 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007781/0.3205, allocations: 0.5262 MB / 0.7969 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.2e-05/0.3205, allocations: 4 kB / 0.7969 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.697e-06/0.3205, allocations: 0 / 0.7969 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.3205, allocations: 0 / 0.7969 GB, free: 1.98 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.001732/0.3223, allocations: 0.7248 MB / 0.7977 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.368e-05/0.3224, allocations: 12.03 kB / 0.7977 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001483/0.3225, allocations: 94.45 kB / 0.7978 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009614/0.3235, allocations: 151.1 kB / 0.7979 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004928/0.324, allocations: 346 kB / 0.7982 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.868e-05/0.324, allocations: 32.98 kB / 0.7983 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.068e-05/0.3241, allocations: 43.98 kB / 0.7983 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.3254, allocations: 0.8251 MB / 0.7991 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.3254, allocations: 4 kB / 0.7991 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.106e-05/0.3255, allocations: 19.94 kB / 0.7991 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.036e-05/0.3256, allocations: 64.61 kB / 0.7992 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.3267, allocations: 0.658 MB / 0.7998 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003953/0.3307, allocations: 4.631 MB / 0.8044 GB, free: 9.836 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.3317, allocations: 0.5038 MB / 0.8048 GB, free: 9.316 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004689/0.3322, allocations: 281.5 kB / 0.8051 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.314e-05/0.3322, allocations: 7.984 kB / 0.8051 GB, free: 9.027 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.3323, allocations: 38.56 kB / 0.8052 GB, free: 8.98 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 2.315e-06/0.3323, allocations: 4 kB / 0.8052 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of matching and sorting (n=34): time 0.001815/0.3341, allocations: 0.8896 MB / 0.806 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.3342, allocations: 81.11 kB / 0.8061 GB, free: 7.98 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003605/0.3345, allocations: 369.3 kB / 0.8065 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.3346, allocations: 37.7 kB / 0.8065 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.3348, allocations: 287 kB / 0.8068 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.3349, allocations: 122.3 kB / 0.8069 GB, free: 7.16 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/0.3349, allocations: 8 kB / 0.8069 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3351, allocations: 350.8 kB / 0.8072 GB, free: 6.801 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004712/0.3356, allocations: 257 kB / 0.8075 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005973/0.3362, allocations: 478.6 kB / 0.8079 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005418/0.3367, allocations: 328.3 kB / 0.8082 GB, free: 5.66 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3367, allocations: 4 kB / 0.8082 GB, free: 5.656 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001282/0.338, allocations: 0.775 MB / 0.809 GB, free: 4.875 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002025/0.3382, allocations: 300.1 kB / 0.8093 GB, free: 4.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.3383, allocations: 8 kB / 0.8093 GB, free: 4.473 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.676e-05/0.3383, allocations: 15.95 kB / 0.8093 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006393/0.3389, allocations: 159.8 kB / 0.8095 GB, free: 4.301 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.158e-05/0.339, allocations: 15.92 kB / 0.8095 GB, free: 4.285 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004311/0.3394, allocations: 79.69 kB / 0.8096 GB, free: 4.207 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.747e-05/0.3395, allocations: 31.98 kB / 0.8096 GB, free: 4.176 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.245e-06/0.3395, allocations: 7.938 kB / 0.8096 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001017/0.3405, allocations: 0.6007 MB / 0.8102 GB, free: 3.566 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.3405, allocations: 8 kB / 0.8102 GB, free: 3.559 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3405, allocations: 12 kB / 0.8102 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004879/0.341, allocations: 156.2 kB / 0.8104 GB, free: 3.395 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.3411, allocations: 15.94 kB / 0.8104 GB, free: 3.379 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003089/0.3414, allocations: 55.8 kB / 0.8104 GB, free: 3.324 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-05/0.3414, allocations: 24 kB / 0.8104 GB, free: 3.301 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002915/0.3417, allocations: 285.6 kB / 0.8107 GB, free: 3.012 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.468e-05/0.3418, allocations: 39.53 kB / 0.8108 GB, free: 2.973 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.343, allocations: 0.5999 MB / 0.8113 GB, free: 2.367 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.343, allocations: 4 kB / 0.8113 GB, free: 2.363 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.343, allocations: 0 / 0.8113 GB, free: 2.363 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.343, allocations: 7.984 kB / 0.8114 GB, free: 2.355 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002398/0.3454, allocations: 1.624 MB / 0.8129 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3454, allocations: 0 / 0.8129 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005081/0.3459, allocations: 120.3 kB / 0.8131 GB, free: 0.5156 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.3459, allocations: 8 kB / 0.8131 GB, free: 0.5078 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.968e-05/0.346, allocations: 11.95 kB / 0.8131 GB, free: 0.4961 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/0.346, allocations: 4 kB / 0.8131 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.346, allocations: 7.938 kB / 0.8131 GB, free: 496 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.3471, allocations: 0.8084 MB / 0.8139 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002018/0.3473, allocations: 168.5 kB / 0.814 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.227e-05/0.3474, allocations: 11.95 kB / 0.814 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003799/0.3478, allocations: 51.94 kB / 0.8141 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.635e-05/0.3479, allocations: 35.89 kB / 0.8141 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/0.3479, allocations: 19.95 kB / 0.8141 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002663/0.3482, allocations: 247.2 kB / 0.8144 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3482, allocations: 0 / 0.8144 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008276/0.349, allocations: 188 kB / 0.8146 GB, free: 14.89 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 (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.001357/0.3504, allocations: 1.365 MB / 0.8159 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001631/0.352, allocations: 0.9273 MB / 0.8168 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.352, allocations: 0.875 kB / 0.8168 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004879/0.3525, allocations: 279.9 kB / 0.8171 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007782/0.3533, allocations: 116.4 kB / 0.8172 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004556/0.3579, allocations: 3 MB / 0.8201 GB, free: 8.965 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004659/0.3584, allocations: 0.8709 MB / 0.821 GB, free: 8.062 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005939/0.359, allocations: 200 kB / 0.8211 GB, free: 7.863 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002751/0.3593, allocations: 147.3 kB / 0.8213 GB, free: 7.719 MB / 0.6387 GB Notification: Performance of SimCode: time 9.01e-07/0.3593, allocations: 4 kB / 0.8213 GB, free: 7.715 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02191/0.3812, allocations: 9.294 MB / 0.8304 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/0.3814, allocations: 194.1 kB / 0.8306 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.025/2.406, allocations: 4 kB / 0.8306 GB, free: 14.37 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/linux/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) Environment - environmentSimulation: