Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.DynamicLoads,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 2.643/2.643, allocations: 287.5 MB / 302.4 MB, free: 8.18 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.001375/0.001375, allocations: 186.9 kB / 371 MB, free: 10.86 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.244/2.244, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0008813/0.0008812, allocations: 89.97 kB / 0.743 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006515/0.0006518, allocations: 12.36 kB / 0.8659 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2167, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004064/0.2208, allocations: 2.821 MB / 0.9812 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003378/0.2242, allocations: 1.74 MB / 0.9829 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.2244, allocations: 3.938 kB / 0.9829 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002081/0.2246, allocations: 43.64 kB / 0.983 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005471/0.2252, allocations: 167.2 kB / 0.9831 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007696/0.226, allocations: 227.5 kB / 0.9833 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005354/0.2265, allocations: 462.6 kB / 0.9838 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008599/0.2274, allocations: 434.6 kB / 0.9842 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002289/0.2276, allocations: 135.5 kB / 0.9843 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004026/0.2281, allocations: 187.4 kB / 0.9845 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.305e-05/0.2281, allocations: 12 kB / 0.9845 GB, free: 22 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004214/0.2286, allocations: 135.8 kB / 0.9846 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.2287, allocations: 111.7 kB / 0.9848 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.917e-05/0.2288, allocations: 73.58 kB / 0.9848 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004614/0.2293, allocations: 359 kB / 0.9852 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2293, allocations: 0 / 0.9852 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2293, allocations: 0 / 0.9852 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.2293, allocations: 0 / 0.9852 GB, free: 21.32 MB / 0.6198 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.001194/0.2305, allocations: 0.5379 MB / 0.9857 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.2306, allocations: 12.02 kB / 0.9857 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.594e-05/0.2307, allocations: 70.53 kB / 0.9858 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.2317, allocations: 91.48 kB / 0.9859 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003852/0.2321, allocations: 271.2 kB / 0.9861 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.2322, allocations: 20.55 kB / 0.9861 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/0.2323, allocations: 35.92 kB / 0.9862 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008176/0.2332, allocations: 441.1 kB / 0.9866 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.2332, allocations: 7.984 kB / 0.9866 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.822e-05/0.2332, allocations: 15.98 kB / 0.9866 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002288/0.2335, allocations: 40.48 kB / 0.9866 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007582/0.2343, allocations: 349.9 kB / 0.987 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002936/0.2372, allocations: 2.195 MB / 0.9891 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006227/0.2379, allocations: 266.9 kB / 0.9894 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003072/0.2382, allocations: 161.1 kB / 0.9895 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.484e-05/0.2382, allocations: 8.172 kB / 0.9895 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.2383, allocations: 34.75 kB / 0.9896 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 3.266e-06/0.2383, allocations: 0 / 0.9896 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.002442/0.2407, allocations: 1.056 MB / 0.9906 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.2408, allocations: 55.41 kB / 0.9907 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003169/0.2411, allocations: 256.8 kB / 0.9909 GB, free: 15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.2412, allocations: 29.7 kB / 0.9909 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.2413, allocations: 192 kB / 0.9911 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.326e-05/0.2414, allocations: 86.75 kB / 0.9912 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.2414, allocations: 8 kB / 0.9912 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.812e-05/0.2415, allocations: 334.8 kB / 0.9915 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003466/0.2419, allocations: 147.9 kB / 0.9917 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003994/0.2423, allocations: 237.6 kB / 0.9919 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004168/0.2427, allocations: 185.3 kB / 0.9921 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.2427, allocations: 0 / 0.9921 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001607/0.2443, allocations: 0.5771 MB / 0.9926 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.2444, allocations: 14.48 kB / 0.9926 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.2444, allocations: 4 kB / 0.9927 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.2455, allocations: 196.5 kB / 0.9928 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004955/0.246, allocations: 59.89 kB / 0.9929 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003593/0.2496, allocations: 2.293 MB / 0.9951 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005038/0.2502, allocations: 24.02 kB / 0.9952 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.971e-05/0.2502, allocations: 8 kB / 0.9952 GB, free: 10.45 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002183/0.2505, allocations: 173.8 kB / 0.9953 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.103e-05/0.2505, allocations: 23.72 kB / 0.9954 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007597/0.2513, allocations: 351.5 kB / 0.9957 GB, free: 9.891 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.2513, allocations: 4 kB / 0.9957 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.2513, allocations: 0 / 0.9957 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.2513, allocations: 3.984 kB / 0.9957 GB, free: 9.883 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.2527, allocations: 0.8103 MB / 0.9965 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.2528, allocations: 4 kB / 0.9965 GB, free: 9.008 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007344/0.2535, allocations: 79.88 kB / 0.9966 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.2535, allocations: 0 / 0.9966 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.404e-05/0.2536, allocations: 11.98 kB / 0.9966 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.2536, allocations: 0 / 0.9966 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2536, allocations: 4 kB / 0.9966 GB, free: 8.914 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/0.2551, allocations: 0.6107 MB / 0.9972 GB, free: 8.281 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002107/0.2554, allocations: 124.8 kB / 0.9973 GB, free: 8.141 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.591e-05/0.2555, allocations: 8 kB / 0.9973 GB, free: 8.133 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003607/0.2558, allocations: 15.98 kB / 0.9973 GB, free: 8.117 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.2559, allocations: 11.92 kB / 0.9973 GB, free: 8.105 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.779e-05/0.2559, allocations: 12 kB / 0.9973 GB, free: 8.094 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002305/0.2562, allocations: 176.5 kB / 0.9975 GB, free: 7.922 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2562, allocations: 4 kB / 0.9975 GB, free: 7.918 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000565/0.2568, allocations: 88 kB / 0.9976 GB, free: 7.832 MB / 0.6198 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 (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.001829/0.2586, allocations: 1.163 MB / 0.9987 GB, free: 6.637 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001391/0.26, allocations: 0.5255 MB / 0.9992 GB, free: 6.098 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.2601, allocations: 4 kB / 0.9993 GB, free: 6.094 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002943/0.2604, allocations: 148.4 kB / 0.9994 GB, free: 5.949 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006729/0.2611, allocations: 55.34 kB / 0.9994 GB, free: 5.898 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00482/0.2659, allocations: 2.265 MB / 1.002 GB, free: 3.539 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.2662, allocations: 0.7912 MB / 1.002 GB, free: 2.723 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000372/0.2666, allocations: 74.91 kB / 1.003 GB, free: 2.648 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.2668, allocations: 83.39 kB / 1.003 GB, free: 2.566 MB / 0.6198 GB Notification: Performance of SimCode: time 8.92e-07/0.2668, allocations: 0 / 1.003 GB, free: 2.566 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03789/0.3047, allocations: 6.289 MB / 1.009 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003112/0.3051, allocations: 225.3 kB / 1.009 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.832/3.137, allocations: 0 / 1.009 GB, free: 12.23 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)