Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.DynamicLoads,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",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.001384/0.001384, 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.001606/0.001606, allocations: 189.5 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.468/1.468, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.758/1.758, 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.001568/0.001568, allocations: 65.91 kB / 0.6718 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2413, allocations: 114.5 MB / 0.7836 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004847/0.2462, allocations: 3.253 MB / 0.7868 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003166/0.2494, allocations: 1.867 MB / 0.7886 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/0.2496, allocations: 4 kB / 0.7886 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009302/0.2505, allocations: 286.8 kB / 0.7889 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004928/0.251, allocations: 223 kB / 0.7891 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007296/0.2518, allocations: 298.3 kB / 0.7894 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004441/0.2522, allocations: 406.7 kB / 0.7898 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003425/0.2526, allocations: 208.4 kB / 0.79 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.2528, allocations: 159.5 kB / 0.7901 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003439/0.2531, allocations: 195.3 kB / 0.7903 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.67e-05/0.2532, allocations: 20 kB / 0.7904 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003739/0.2536, allocations: 235.5 kB / 0.7906 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.2537, allocations: 119.7 kB / 0.7907 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.2538, allocations: 147.2 kB / 0.7908 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005108/0.2543, allocations: 478.6 kB / 0.7913 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2544, allocations: 4 kB / 0.7913 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2544, allocations: 0 / 0.7913 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.2544, allocations: 0 / 0.7913 GB, free: 5.34 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001048/0.2554, allocations: 0.5887 MB / 0.7919 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.2555, allocations: 8.031 kB / 0.7919 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.158e-05/0.2556, allocations: 62.72 kB / 0.7919 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007171/0.2563, allocations: 100.5 kB / 0.792 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.2567, allocations: 280.4 kB / 0.7923 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.2567, allocations: 16.92 kB / 0.7923 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.2568, allocations: 32.5 kB / 0.7923 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006334/0.2575, allocations: 453 kB / 0.7928 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.2575, allocations: 0 / 0.7928 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.303e-05/0.2575, allocations: 8 kB / 0.7928 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001396/0.2577, allocations: 44.52 kB / 0.7928 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005086/0.2582, allocations: 349.9 kB / 0.7932 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002342/0.2605, allocations: 2.202 MB / 0.7953 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004088/0.261, allocations: 272.9 kB / 0.7956 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/0.2612, allocations: 156.8 kB / 0.7957 GB, free: 472 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.2612, allocations: 8 kB / 0.7957 GB, free: 464 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.2612, allocations: 34.5 kB / 0.7958 GB, free: 420 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.563e-06/0.2613, allocations: 0 / 0.7958 GB, free: 420 kB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.001774/0.263, allocations: 1.061 MB / 0.7968 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.2631, allocations: 51.41 kB / 0.7968 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002656/0.2634, allocations: 252.9 kB / 0.7971 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.2634, allocations: 29.7 kB / 0.7971 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.2635, allocations: 184 kB / 0.7973 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.156e-05/0.2636, allocations: 82.75 kB / 0.7974 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.2637, allocations: 77.59 kB / 0.7974 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.2639, allocations: 334.8 kB / 0.7978 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.2641, allocations: 155.9 kB / 0.7979 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002858/0.2644, allocations: 241.5 kB / 0.7981 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000517/0.2649, allocations: 402.8 kB / 0.7985 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.2649, allocations: 7.938 kB / 0.7985 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001088/0.266, allocations: 0.5821 MB / 0.7991 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.266, allocations: 12 kB / 0.7991 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.2661, allocations: 8 kB / 0.7991 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006631/0.2667, allocations: 180.7 kB / 0.7993 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.267, allocations: 67.89 kB / 0.7994 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002829/0.2699, allocations: 2.496 MB / 0.8018 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002914/0.2702, allocations: 15.98 kB / 0.8018 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/0.2702, allocations: 19.94 kB / 0.8018 GB, free: 9.855 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001681/0.2704, allocations: 161.7 kB / 0.802 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.772e-05/0.2705, allocations: 23.72 kB / 0.802 GB, free: 9.664 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005295/0.271, allocations: 363.4 kB / 0.8024 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.271, allocations: 0 / 0.8024 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.271, allocations: 4.109 kB / 0.8024 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.271, allocations: 8 kB / 0.8024 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009927/0.272, allocations: 0.8044 MB / 0.8032 GB, free: 8.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.272, allocations: 0 / 0.8032 GB, free: 8.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003771/0.2724, allocations: 79.88 kB / 0.8032 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.2724, allocations: 0 / 0.8032 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.2725, allocations: 4 kB / 0.8032 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2725, allocations: 0 / 0.8032 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.2725, allocations: 8.047 kB / 0.8032 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007092/0.2732, allocations: 0.6164 MB / 0.8038 GB, free: 7.703 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.2733, allocations: 128.8 kB / 0.804 GB, free: 7.559 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.223e-05/0.2734, allocations: 7.938 kB / 0.804 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.2736, allocations: 15.98 kB / 0.804 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.2736, allocations: 23.91 kB / 0.804 GB, free: 7.512 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.2736, allocations: 8 kB / 0.804 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001599/0.2738, allocations: 176.5 kB / 0.8042 GB, free: 7.336 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2738, allocations: 0 / 0.8042 GB, free: 7.336 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000409/0.2742, allocations: 92 kB / 0.8043 GB, free: 7.246 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * 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.001033/0.2753, allocations: 1.155 MB / 0.8054 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008621/0.2761, allocations: 0.5416 MB / 0.8059 GB, free: 5.5 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2762, allocations: 4.188 kB / 0.8059 GB, free: 5.496 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.2764, allocations: 146.8 kB / 0.8061 GB, free: 5.355 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/0.2768, allocations: 58.91 kB / 0.8061 GB, free: 5.301 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004934/0.2817, allocations: 3.657 MB / 0.8097 GB, free: 1.477 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.2822, allocations: 0.7912 MB / 0.8105 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002133/0.2824, allocations: 82.89 kB / 0.8106 GB, free: 0.582 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.2825, allocations: 79.41 kB / 0.8106 GB, free: 0.5039 MB / 0.6231 GB Notification: Performance of SimCode: time 6.41e-07/0.2825, allocations: 4 kB / 0.8106 GB, free: 0.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02579/0.3083, allocations: 6.71 MB / 0.8172 GB, free: 9.941 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.295/9.604, allocations: 7.938 kB / 0.8172 GB, free: 9.934 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)