Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",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.001189/0.001189, allocations: 109.4 kB / 16.41 MB, free: 6.027 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.001296/0.001296, allocations: 190.1 kB / 17.34 MB, free: 5.633 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.188/1.188, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6653/0.6653, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 61.89 kB / 0.5572 GB, free: 32.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1114, allocations: 76.18 MB / 0.6316 GB, free: 5.043 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003885/0.1153, allocations: 3.06 MB / 0.6346 GB, free: 1.965 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.1176, allocations: 1.726 MB / 0.6363 GB, free: 236 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.681e-05/0.1177, allocations: 4 kB / 0.6363 GB, free: 232 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008713/0.1186, allocations: 336.8 kB / 0.6366 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003826/0.119, allocations: 223.1 kB / 0.6368 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003594/0.1193, allocations: 187.5 kB / 0.637 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002874/0.1196, allocations: 310.9 kB / 0.6373 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003284/0.12, allocations: 239.5 kB / 0.6375 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.1201, allocations: 131.6 kB / 0.6376 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002571/0.1204, allocations: 163.4 kB / 0.6378 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.1204, allocations: 20 kB / 0.6378 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003157/0.1208, allocations: 239.5 kB / 0.638 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.524e-05/0.1209, allocations: 99.77 kB / 0.6381 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.121, allocations: 127.4 kB / 0.6382 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004212/0.1214, allocations: 427.6 kB / 0.6387 GB, free: 13.77 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1214, allocations: 0 / 0.6387 GB, free: 13.77 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1214, allocations: 0 / 0.6387 GB, free: 13.77 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.1215, allocations: 0 / 0.6387 GB, free: 13.77 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007941/0.1223, allocations: 0.5458 MB / 0.6392 GB, free: 13.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.1223, allocations: 12.03 kB / 0.6392 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.66e-05/0.1224, allocations: 66.7 kB / 0.6393 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006574/0.123, allocations: 96.55 kB / 0.6394 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.1233, allocations: 248 kB / 0.6396 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.1233, allocations: 16.81 kB / 0.6396 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-05/0.1234, allocations: 28.45 kB / 0.6396 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004886/0.1239, allocations: 380.9 kB / 0.64 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.1239, allocations: 4 kB / 0.64 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/0.124, allocations: 11.98 kB / 0.64 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.481e-05/0.124, allocations: 24.42 kB / 0.64 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000427/0.1245, allocations: 309.5 kB / 0.6403 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.126, allocations: 1.529 MB / 0.6418 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003788/0.1264, allocations: 226.4 kB / 0.642 GB, free: 10.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.1265, allocations: 114.7 kB / 0.6421 GB, free: 9.906 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001238/0.1267, allocations: 93.08 kB / 0.6422 GB, free: 9.797 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.1267, allocations: 38.56 kB / 0.6423 GB, free: 9.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.212e-06/0.1267, allocations: 0 / 0.6423 GB, free: 9.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=19): time 0.00111/0.1278, allocations: 0.7901 MB / 0.643 GB, free: 8.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.1279, allocations: 55.41 kB / 0.6431 GB, free: 8.844 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.128, allocations: 199.4 kB / 0.6433 GB, free: 8.641 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.1281, allocations: 25.7 kB / 0.6433 GB, free: 8.609 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.564e-05/0.1281, allocations: 159.9 kB / 0.6435 GB, free: 8.449 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.213e-05/0.1282, allocations: 70.94 kB / 0.6435 GB, free: 8.379 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.367e-05/0.1283, allocations: 57.61 kB / 0.6436 GB, free: 8.316 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.818e-05/0.1284, allocations: 326.8 kB / 0.6439 GB, free: 7.988 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.1286, allocations: 127.8 kB / 0.644 GB, free: 7.863 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001868/0.1288, allocations: 170.2 kB / 0.6442 GB, free: 7.676 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003507/0.1291, allocations: 297.3 kB / 0.6445 GB, free: 7.367 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1291, allocations: 0 / 0.6445 GB, free: 7.367 MB / 494.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000673/0.1298, allocations: 413.8 kB / 0.6449 GB, free: 6.953 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.1298, allocations: 8 kB / 0.6449 GB, free: 6.945 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.1298, allocations: 0 / 0.6449 GB, free: 6.945 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003707/0.1302, allocations: 100.9 kB / 0.645 GB, free: 6.844 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.1304, allocations: 55.91 kB / 0.645 GB, free: 6.789 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001689/0.1321, allocations: 1.883 MB / 0.6469 GB, free: 4.766 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.1323, allocations: 19.95 kB / 0.6469 GB, free: 4.746 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.1324, allocations: 12 kB / 0.6469 GB, free: 4.734 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (26): * Single equations (assignments): 25 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001294/0.1325, allocations: 153.8 kB / 0.647 GB, free: 4.574 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.319e-05/0.1326, allocations: 15.81 kB / 0.647 GB, free: 4.559 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004282/0.133, allocations: 299.4 kB / 0.6473 GB, free: 4.258 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.133, allocations: 0 / 0.6473 GB, free: 4.258 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.133, allocations: 4 kB / 0.6473 GB, free: 4.254 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.133, allocations: 7.922 kB / 0.6473 GB, free: 4.246 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000785/0.1338, allocations: 0.699 MB / 0.648 GB, free: 3.484 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1338, allocations: 0 / 0.648 GB, free: 3.484 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/0.1341, allocations: 59.89 kB / 0.6481 GB, free: 3.426 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.1341, allocations: 3.938 kB / 0.6481 GB, free: 3.422 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.1341, allocations: 12.19 kB / 0.6481 GB, free: 3.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1342, allocations: 4 kB / 0.6481 GB, free: 3.406 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1342, allocations: 4 kB / 0.6481 GB, free: 3.402 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005411/0.1347, allocations: 0.5072 MB / 0.6486 GB, free: 2.875 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.1348, allocations: 120.7 kB / 0.6487 GB, free: 2.738 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.1348, allocations: 8 kB / 0.6487 GB, free: 2.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.135, allocations: 16.05 kB / 0.6487 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.1351, allocations: 15.97 kB / 0.6488 GB, free: 2.699 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.1351, allocations: 4 kB / 0.6488 GB, free: 2.695 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001156/0.1352, allocations: 152 kB / 0.6489 GB, free: 2.543 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1352, allocations: 0 / 0.6489 GB, free: 2.543 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003099/0.1355, allocations: 60 kB / 0.649 GB, free: 2.484 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[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 (20): * Single equations (assignments): 20 * 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.000787/0.1363, allocations: 1.06 MB / 0.65 GB, free: 1.391 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006287/0.1369, allocations: 433.9 kB / 0.6504 GB, free: 0.957 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.137, allocations: 0 / 0.6504 GB, free: 0.957 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.1371, allocations: 123.8 kB / 0.6505 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.1375, allocations: 35.91 kB / 0.6506 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00319/0.1407, allocations: 2.901 MB / 0.6534 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.141, allocations: 0.7675 MB / 0.6541 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001506/0.1411, allocations: 53.91 kB / 0.6542 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.1412, allocations: 67.41 kB / 0.6543 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1412, allocations: 0 / 0.6543 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.1652, allocations: 5.101 MB / 0.6592 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.534/8.7, allocations: 3.938 kB / 0.6592 GB, free: 7.91 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)