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.0008701/0.00087, allocations: 86.88 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.001132/0.001132, 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.523/1.523, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.785/1.785, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0006609/0.000661, allocations: 15.97 kB / 0.6738 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3023, allocations: 116.3 MB / 0.7874 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004355/0.3067, allocations: 2.828 MB / 0.7902 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003395/0.3101, allocations: 1.751 MB / 0.7919 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000338/0.3105, allocations: 4 kB / 0.7919 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.3108, allocations: 39.64 kB / 0.7919 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007184/0.3116, allocations: 163.2 kB / 0.7921 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009495/0.3125, allocations: 230.2 kB / 0.7923 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000713/0.3132, allocations: 470.5 kB / 0.7927 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009979/0.3143, allocations: 429.6 kB / 0.7932 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003516/0.3146, allocations: 139.5 kB / 0.7933 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005151/0.3152, allocations: 187.3 kB / 0.7935 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.984e-05/0.3152, allocations: 16 kB / 0.7935 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004299/0.3157, allocations: 131.8 kB / 0.7936 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.3158, allocations: 103.7 kB / 0.7937 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.3159, allocations: 73.58 kB / 0.7938 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005978/0.3165, allocations: 355 kB / 0.7941 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.3166, allocations: 3.938 kB / 0.7941 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.595e-06/0.3166, allocations: 0 / 0.7941 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.154e-05/0.3166, allocations: 4 kB / 0.7941 GB, free: 4.871 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.001204/0.3178, allocations: 0.5379 MB / 0.7946 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.3179, allocations: 8.031 kB / 0.7947 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001142/0.318, allocations: 66.53 kB / 0.7947 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008235/0.3188, allocations: 99.47 kB / 0.7948 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000415/0.3192, allocations: 271.2 kB / 0.7951 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.3193, allocations: 20.55 kB / 0.7951 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.3194, allocations: 35.98 kB / 0.7951 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000779/0.3202, allocations: 441.1 kB / 0.7955 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.3202, allocations: 4 kB / 0.7956 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.595e-05/0.3203, allocations: 8 kB / 0.7956 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001438/0.3204, allocations: 40.53 kB / 0.7956 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006443/0.3211, allocations: 349.9 kB / 0.7959 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002858/0.3239, allocations: 2.199 MB / 0.7981 GB, free: 492 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004719/0.3244, allocations: 266.9 kB / 0.7983 GB, free: 216 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.3247, allocations: 167.6 kB / 0.7985 GB, free: 48 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.3247, allocations: 4.188 kB / 0.7985 GB, free: 44 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.3248, allocations: 30.75 kB / 0.7985 GB, free: 4 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.983e-06/0.3248, allocations: 0 / 0.7985 GB, free: 4 kB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.00194/0.3267, allocations: 1.058 MB / 0.7996 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.3268, allocations: 51.41 kB / 0.7996 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003056/0.3271, allocations: 252.8 kB / 0.7999 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.3271, allocations: 29.7 kB / 0.7999 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.3273, allocations: 191.8 kB / 0.8001 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.946e-05/0.3273, allocations: 86.75 kB / 0.8001 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.133e-05/0.3274, allocations: 8 kB / 0.8002 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.3275, allocations: 338.8 kB / 0.8005 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/0.3277, allocations: 147.9 kB / 0.8006 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002977/0.3281, allocations: 233.6 kB / 0.8008 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003111/0.3284, allocations: 189.3 kB / 0.801 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3284, allocations: 0 / 0.801 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001146/0.3295, allocations: 0.5854 MB / 0.8016 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.3296, allocations: 8 kB / 0.8016 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.3296, allocations: 0 / 0.8016 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007003/0.3303, allocations: 193 kB / 0.8018 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002941/0.3306, allocations: 55.91 kB / 0.8018 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002829/0.3334, allocations: 2.304 MB / 0.8041 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000306/0.3338, allocations: 23.98 kB / 0.8041 GB, free: 9.996 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/0.3338, allocations: 15.98 kB / 0.8041 GB, free: 9.98 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 (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.0002174/0.334, allocations: 161.8 kB / 0.8043 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.593e-05/0.3341, allocations: 31.73 kB / 0.8043 GB, free: 9.781 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005854/0.3347, allocations: 354.1 kB / 0.8046 GB, free: 9.438 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.3347, allocations: 4 kB / 0.8047 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3347, allocations: 112 / 0.8047 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3347, allocations: 3.938 kB / 0.8047 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.3359, allocations: 0.8082 MB / 0.8054 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3359, allocations: 0 / 0.8054 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004153/0.3363, allocations: 79.94 kB / 0.8055 GB, free: 8.48 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.3363, allocations: 0 / 0.8055 GB, free: 8.48 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.3364, allocations: 8 kB / 0.8055 GB, free: 8.473 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.3364, allocations: 7.984 kB / 0.8055 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3364, allocations: 3.984 kB / 0.8055 GB, free: 8.461 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007838/0.3372, allocations: 0.6064 MB / 0.8061 GB, free: 7.832 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/0.3373, allocations: 132.8 kB / 0.8063 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.199e-05/0.3374, allocations: 3.984 kB / 0.8063 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.3376, allocations: 15.98 kB / 0.8063 GB, free: 7.664 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.3377, allocations: 15.98 kB / 0.8063 GB, free: 7.648 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.3377, allocations: 4 kB / 0.8063 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001813/0.3379, allocations: 176.5 kB / 0.8065 GB, free: 7.477 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3379, allocations: 4 kB / 0.8065 GB, free: 7.473 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004645/0.3384, allocations: 87.98 kB / 0.8066 GB, free: 7.387 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 (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.001127/0.3395, allocations: 1.154 MB / 0.8077 GB, free: 6.199 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001025/0.3405, allocations: 0.542 MB / 0.8082 GB, free: 5.645 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.3405, allocations: 0 / 0.8082 GB, free: 5.645 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.3408, allocations: 143.9 kB / 0.8083 GB, free: 5.504 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/0.3412, allocations: 55.14 kB / 0.8084 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004067/0.3453, allocations: 2.276 MB / 0.8106 GB, free: 3.09 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004911/0.3458, allocations: 0.7951 MB / 0.8114 GB, free: 2.266 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002682/0.3461, allocations: 70.92 kB / 0.8115 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.3463, allocations: 83.41 kB / 0.8115 GB, free: 2.117 MB / 0.6231 GB Notification: Performance of SimCode: time 1.223e-06/0.3463, allocations: 0 / 0.8115 GB, free: 2.117 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02114/0.3674, allocations: 6.266 MB / 0.8177 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/0.3677, allocations: 219.8 kB / 0.8179 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.917/2.285, allocations: 0 / 0.8179 GB, free: 11.8 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/linux/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) Environment - environmentSimulation: