Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",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.001143/0.001144, allocations: 104.8 kB / 16.27 MB, free: 5.93 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.001056/0.001056, allocations: 190.9 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7443/0.7443, allocations: 122.8 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 59.91 kB / 0.4912 GB, free: 7.305 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3487, allocations: 77.92 MB / 0.5673 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01795/0.3667, allocations: 17.17 MB / 0.5841 GB, free: 21.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008555/0.3753, allocations: 5.844 MB / 0.5898 GB, free: 16.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001364/0.3767, allocations: 52.41 kB / 0.5898 GB, free: 16.83 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002791/0.3796, allocations: 1.304 MB / 0.5911 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001684/0.3813, allocations: 0.8269 MB / 0.5919 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002807/0.3841, allocations: 1.341 MB / 0.5932 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003948/0.3881, allocations: 4.29 MB / 0.5974 GB, free: 11.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005234/0.3933, allocations: 6.908 MB / 0.6041 GB, free: 4.934 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0024/0.3957, allocations: 1.913 MB / 0.606 GB, free: 3.016 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002482/0.3982, allocations: 2.283 MB / 0.6082 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005628/0.3988, allocations: 448 kB / 0.6087 GB, free: 296 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001696/0.4005, allocations: 0.8467 MB / 0.6095 GB, free: 15.44 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001603/0.4021, allocations: 1.723 MB / 0.6112 GB, free: 13.71 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001916/0.4041, allocations: 1.751 MB / 0.6129 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005441/0.4095, allocations: 6.338 MB / 0.6191 GB, free: 5.598 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4095, allocations: 0 / 0.6191 GB, free: 5.598 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4095, allocations: 0 / 0.6191 GB, free: 5.598 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001379/0.4097, allocations: 0 / 0.6191 GB, free: 5.598 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.006071/0.4158, allocations: 3.068 MB / 0.6221 GB, free: 2.469 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.4158, allocations: 8.625 kB / 0.6221 GB, free: 2.461 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000592/0.4164, allocations: 466.7 kB / 0.6225 GB, free: 1.992 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004773/0.4212, allocations: 1.117 MB / 0.6236 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002878/0.4241, allocations: 1.6 MB / 0.6252 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001528/0.4243, allocations: 230.3 kB / 0.6254 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005683/0.4248, allocations: 288.4 kB / 0.6257 GB, free: 14.72 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008392/0.4332, allocations: 5.315 MB / 0.6309 GB, free: 9.305 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.447e-05/0.4333, allocations: 0 / 0.6309 GB, free: 9.305 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003667/0.4337, allocations: 128 kB / 0.631 GB, free: 9.18 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002362/0.4339, allocations: 201.1 kB / 0.6312 GB, free: 8.98 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007473/0.4414, allocations: 4.766 MB / 0.6358 GB, free: 4.199 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02638/0.4678, allocations: 23.17 MB / 0.6585 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004692/0.4726, allocations: 3.179 MB / 0.6616 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001403/0.474, allocations: 0.9172 MB / 0.6625 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00019/0.4742, allocations: 105.7 kB / 0.6626 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.559e-05/0.4743, allocations: 51.14 kB / 0.6626 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=82): time 3.216e-06/0.4743, allocations: 0 / 0.6626 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82): time 0.003341/0.4777, allocations: 2.074 MB / 0.6646 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.4778, allocations: 218.3 kB / 0.6648 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002159/0.4799, allocations: 1.098 MB / 0.6659 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.4801, allocations: 37.7 kB / 0.666 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009459/0.481, allocations: 1.285 MB / 0.6672 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003056/0.4813, allocations: 299.9 kB / 0.6675 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005946/0.4819, allocations: 359.2 kB / 0.6678 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.4821, allocations: 341.9 kB / 0.6682 GB, free: 428 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/0.4834, allocations: 0.8986 MB / 0.669 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00174/0.4851, allocations: 1.515 MB / 0.6705 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002795/0.4879, allocations: 2.346 MB / 0.6728 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.822e-05/0.488, allocations: 8 kB / 0.6728 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003632/0.4916, allocations: 2.492 MB / 0.6753 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.4916, allocations: 14.03 kB / 0.6753 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.105e-05/0.4917, allocations: 20 kB / 0.6753 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.139e-05/0.4917, allocations: 28.72 kB / 0.6753 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/0.4933, allocations: 463.2 kB / 0.6758 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.484e-05/0.4934, allocations: 39.86 kB / 0.6758 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.4949, allocations: 345.9 kB / 0.6761 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/0.495, allocations: 83.97 kB / 0.6762 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002688/0.4977, allocations: 1.905 MB / 0.6781 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001483/0.4992, allocations: 1.438 MB / 0.6795 GB, free: 4 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002438/0.5017, allocations: 2.202 MB / 0.6816 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.344e-05/0.5017, allocations: 4 kB / 0.6816 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003428/0.5051, allocations: 2.336 MB / 0.6839 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.5052, allocations: 12 kB / 0.6839 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.639e-05/0.5052, allocations: 20 kB / 0.6839 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.5052, allocations: 28 kB / 0.684 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/0.5067, allocations: 435.3 kB / 0.6844 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.744e-05/0.5067, allocations: 43.8 kB / 0.6844 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/0.5082, allocations: 286.9 kB / 0.6847 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/0.5084, allocations: 75.98 kB / 0.6848 GB, free: 14.29 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (197): * Single equations (assignments): 197 * 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 prepare postOptimizeDAE: time 0.0003913/0.5088, allocations: 283.6 kB / 0.685 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003587/0.5092, allocations: 106.8 kB / 0.6851 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002327/0.5115, allocations: 1.56 MB / 0.6867 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.5115, allocations: 8 kB / 0.6867 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.5115, allocations: 4 kB / 0.6867 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.5115, allocations: 7.922 kB / 0.6867 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007447/0.519, allocations: 4.498 MB / 0.6911 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.519, allocations: 4 kB / 0.6911 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009741/0.52, allocations: 243.6 kB / 0.6913 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-05/0.52, allocations: 4 kB / 0.6913 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.189e-05/0.5201, allocations: 19.98 kB / 0.6913 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-06/0.5201, allocations: 8 kB / 0.6913 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5201, allocations: 0 / 0.6913 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002278/0.5224, allocations: 1.911 MB / 0.6932 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004968/0.5229, allocations: 327.6 kB / 0.6935 GB, free: 5.152 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001935/0.5231, allocations: 12 kB / 0.6935 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009299/0.524, allocations: 123.8 kB / 0.6936 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.5242, allocations: 52.53 kB / 0.6937 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-05/0.5243, allocations: 23.98 kB / 0.6937 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001055/0.5253, allocations: 0.7957 MB / 0.6945 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5253, allocations: 0 / 0.6945 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004132/0.5295, allocations: 1.305 MB / 0.6958 GB, free: 2.836 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (85): * Single equations (assignments): 85 * 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.003114/0.5326, allocations: 2.48 MB / 0.6982 GB, free: 332 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005606/0.5382, allocations: 3.482 MB / 0.7016 GB, free: 12.85 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.5382, allocations: 0 / 0.7016 GB, free: 12.85 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008777/0.5391, allocations: 0.6609 MB / 0.7022 GB, free: 12.19 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/0.5406, allocations: 201 kB / 0.7024 GB, free: 12 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02169/0.5624, allocations: 15.56 MB / 0.7176 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002548/0.5649, allocations: 2.206 MB / 0.7198 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002431/0.5674, allocations: 1.097 MB / 0.7208 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/0.5685, allocations: 0.839 MB / 0.7217 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of SimCode: time 9.92e-07/0.5685, allocations: 0 / 0.7217 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2926/0.8611, allocations: 31.27 MB / 0.7522 GB, free: 156 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.66/8.521, allocations: 8.781 kB / 0.7522 GB, free: 156 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)