Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.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.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource",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.776/2.776, allocations: 287.5 MB / 302.4 MB, free: 8.227 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.001386/0.001385, allocations: 186.2 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.193/2.193, allocations: 205.4 MB / 0.6297 GB, free: 10.64 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.0008588/0.0008588, allocations: 94.16 kB / 0.743 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006459/0.0006463, allocations: 13.03 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2132, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.003859/0.2172, allocations: 2.607 MB / 0.981 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003331/0.2205, allocations: 1.654 MB / 0.9826 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002644/0.2209, allocations: 11.94 kB / 0.9826 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002067/0.2211, allocations: 35.7 kB / 0.9827 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005868/0.2217, allocations: 139.3 kB / 0.9828 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007956/0.2225, allocations: 200.4 kB / 0.983 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005699/0.2231, allocations: 410.7 kB / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009673/0.2241, allocations: 378.9 kB / 0.9838 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003107/0.2244, allocations: 131.5 kB / 0.9839 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003784/0.2248, allocations: 167.4 kB / 0.984 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.727e-05/0.2249, allocations: 12 kB / 0.9841 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004568/0.2253, allocations: 143.8 kB / 0.9842 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.2255, allocations: 83.7 kB / 0.9843 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.81e-05/0.2256, allocations: 69.58 kB / 0.9843 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005131/0.2261, allocations: 347 kB / 0.9847 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2261, allocations: 0 / 0.9847 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2261, allocations: 0 / 0.9847 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.2261, allocations: 0 / 0.9847 GB, free: 21.85 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001487/0.2276, allocations: 0.6057 MB / 0.9853 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.2277, allocations: 8.031 kB / 0.9853 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.671e-05/0.2278, allocations: 62.53 kB / 0.9853 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.2288, allocations: 103.5 kB / 0.9854 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004222/0.2293, allocations: 274.3 kB / 0.9857 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.2293, allocations: 16.44 kB / 0.9857 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.115e-05/0.2294, allocations: 16 kB / 0.9857 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.2305, allocations: 430.5 kB / 0.9861 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.2306, allocations: 0 / 0.9861 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.139e-05/0.2306, allocations: 12 kB / 0.9861 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.198e-05/0.2307, allocations: 24.36 kB / 0.9862 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0014/0.2321, allocations: 424.7 kB / 0.9866 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00229/0.2344, allocations: 1.615 MB / 0.9881 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001834/0.2363, allocations: 485.2 kB / 0.9886 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006804/0.237, allocations: 205.6 kB / 0.9888 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001885/0.2372, allocations: 89.09 kB / 0.9889 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008014/0.238, allocations: 282.4 kB / 0.9892 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 2.985e-06/0.2381, allocations: 0 / 0.9892 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.002932/0.241, allocations: 0.7733 MB / 0.9899 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.2411, allocations: 89.03 kB / 0.99 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.2413, allocations: 217 kB / 0.9902 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.673e-05/0.2414, allocations: 33.7 kB / 0.9902 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.2415, allocations: 176.2 kB / 0.9904 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.218e-05/0.2416, allocations: 90.66 kB / 0.9905 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.2417, allocations: 12 kB / 0.9905 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.572e-05/0.2418, allocations: 334.8 kB / 0.9908 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006524/0.2424, allocations: 180.2 kB / 0.991 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007012/0.2431, allocations: 257.3 kB / 0.9912 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007194/0.2439, allocations: 234.3 kB / 0.9915 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.2439, allocations: 0 / 0.9915 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001789/0.2457, allocations: 0.5525 MB / 0.992 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.2458, allocations: 200.6 kB / 0.9922 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.2459, allocations: 0 / 0.9922 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000317/0.2462, allocations: 40.83 kB / 0.9922 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007336/0.2469, allocations: 91.86 kB / 0.9923 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001557/0.2485, allocations: 1.497 MB / 0.9938 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005908/0.2491, allocations: 51.83 kB / 0.9938 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-05/0.2492, allocations: 16.19 kB / 0.9938 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.706e-06/0.2492, allocations: 12 kB / 0.9939 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001672/0.2509, allocations: 494.2 kB / 0.9943 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.2509, allocations: 4 kB / 0.9943 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002241/0.2512, allocations: 60.84 kB / 0.9944 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006408/0.2518, allocations: 83.81 kB / 0.9945 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/0.2532, allocations: 1.481 MB / 0.9959 GB, free: 9.547 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005409/0.2538, allocations: 47.84 kB / 0.996 GB, free: 9.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.224e-05/0.2538, allocations: 15.98 kB / 0.996 GB, free: 9.484 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002815/0.2541, allocations: 238.1 kB / 0.9962 GB, free: 9.242 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.248e-05/0.2542, allocations: 23.72 kB / 0.9962 GB, free: 9.219 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/0.2559, allocations: 0.4892 MB / 0.9967 GB, free: 8.727 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.2559, allocations: 4 kB / 0.9967 GB, free: 8.723 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2559, allocations: 0 / 0.9967 GB, free: 8.723 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.2559, allocations: 3.984 kB / 0.9967 GB, free: 8.719 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008169/0.2568, allocations: 0.5777 MB / 0.9973 GB, free: 8.078 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.2568, allocations: 3.938 kB / 0.9973 GB, free: 8.074 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006736/0.2575, allocations: 84.08 kB / 0.9974 GB, free: 7.992 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001972/0.2577, allocations: 32.83 kB / 0.9974 GB, free: 7.957 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.584e-05/0.2577, allocations: 11.98 kB / 0.9974 GB, free: 7.945 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001242/0.259, allocations: 1.409 MB / 0.9988 GB, free: 6.402 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.259, allocations: 0 / 0.9988 GB, free: 6.402 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.2606, allocations: 0.5654 MB / 0.9993 GB, free: 5.809 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001854/0.2608, allocations: 136.7 kB / 0.9995 GB, free: 5.656 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.751e-05/0.2609, allocations: 8 kB / 0.9995 GB, free: 5.648 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005197/0.2614, allocations: 43.95 kB / 0.9995 GB, free: 5.605 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.2616, allocations: 35.84 kB / 0.9995 GB, free: 5.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-05/0.2616, allocations: 8 kB / 0.9996 GB, free: 5.562 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001978/0.2618, allocations: 168.5 kB / 0.9997 GB, free: 5.395 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2618, allocations: 0 / 0.9997 GB, free: 5.395 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007667/0.2626, allocations: 136 kB / 0.9998 GB, free: 5.262 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001851/0.2645, allocations: 1.106 MB / 1.001 GB, free: 4.117 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002776/0.2673, allocations: 1.008 MB / 1.002 GB, free: 3.059 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.2673, allocations: 0 / 1.002 GB, free: 3.059 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009644/0.2683, allocations: 338.8 kB / 1.002 GB, free: 2.715 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006906/0.269, allocations: 49.89 kB / 1.002 GB, free: 2.668 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004909/0.2739, allocations: 1.996 MB / 1.004 GB, free: 0.5703 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.2744, allocations: 0.7955 MB / 1.005 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006171/0.275, allocations: 94.33 kB / 1.005 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002761/0.2753, allocations: 87.39 kB / 1.005 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of SimCode: time 1.062e-06/0.2753, allocations: 0 / 1.005 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03415/0.3095, allocations: 6.577 MB / 1.012 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003351/0.3099, allocations: 231.7 kB / 1.012 GB, free: 8.984 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.786/3.096, allocations: 0 / 1.012 GB, free: 8.984 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1)