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.001205/0.001205, allocations: 102.9 kB / 16.4 MB, free: 6.477 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.001271/0.001271, allocations: 195.8 kB / 17.34 MB, free: 5.75 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7974/0.7974, allocations: 115.3 MB / 406.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 65.56 kB / 0.5572 GB, free: 32.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1787, allocations: 76.18 MB / 0.6316 GB, free: 4.922 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.006417/0.1851, allocations: 3.064 MB / 0.6346 GB, free: 1.84 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00317/0.1883, allocations: 1.726 MB / 0.6363 GB, free: 108 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002585/0.1886, allocations: 8 kB / 0.6363 GB, free: 100 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.1899, allocations: 326.7 kB / 0.6366 GB, free: 15.78 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006619/0.1906, allocations: 215.1 kB / 0.6368 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005775/0.1912, allocations: 190 kB / 0.637 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005408/0.1918, allocations: 315 kB / 0.6373 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004404/0.1922, allocations: 235.6 kB / 0.6375 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000302/0.1925, allocations: 139.6 kB / 0.6376 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004885/0.193, allocations: 159.4 kB / 0.6378 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.469e-05/0.1931, allocations: 24 kB / 0.6378 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005339/0.1936, allocations: 243.5 kB / 0.638 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.1938, allocations: 95.78 kB / 0.6381 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002049/0.194, allocations: 127.4 kB / 0.6382 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008301/0.1949, allocations: 423.6 kB / 0.6386 GB, free: 13.65 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.1949, allocations: 0 / 0.6386 GB, free: 13.65 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.155e-06/0.1949, allocations: 0 / 0.6386 GB, free: 13.65 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.036e-05/0.1949, allocations: 4 kB / 0.6387 GB, free: 13.65 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.001294/0.1962, allocations: 0.5458 MB / 0.6392 GB, free: 13.05 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.52e-05/0.1963, allocations: 8.031 kB / 0.6392 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001134/0.1964, allocations: 66.7 kB / 0.6393 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008785/0.1973, allocations: 92.55 kB / 0.6393 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004867/0.1978, allocations: 252 kB / 0.6396 GB, free: 12.6 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.521e-05/0.1978, allocations: 28.72 kB / 0.6396 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.198, allocations: 24.47 kB / 0.6396 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006138/0.1986, allocations: 376.9 kB / 0.64 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.1986, allocations: 0 / 0.64 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.279e-05/0.1986, allocations: 8 kB / 0.64 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000115/0.1988, allocations: 36.41 kB / 0.64 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004948/0.1993, allocations: 305.5 kB / 0.6403 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002044/0.2013, allocations: 1.533 MB / 0.6418 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004802/0.2018, allocations: 222.4 kB / 0.642 GB, free: 9.898 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.202, allocations: 116.8 kB / 0.6421 GB, free: 9.781 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001783/0.2022, allocations: 85.11 kB / 0.6422 GB, free: 9.68 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.2023, allocations: 42.55 kB / 0.6423 GB, free: 9.629 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.563e-06/0.2023, allocations: 0 / 0.6423 GB, free: 9.629 MB / 494.1 MB Notification: Performance of matching and sorting (n=19): time 0.001458/0.2037, allocations: 0.7943 MB / 0.643 GB, free: 8.785 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.2038, allocations: 51.41 kB / 0.6431 GB, free: 8.723 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.204, allocations: 195.4 kB / 0.6433 GB, free: 8.523 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.204, allocations: 29.7 kB / 0.6433 GB, free: 8.488 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.2042, allocations: 155.9 kB / 0.6435 GB, free: 8.332 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.11e-05/0.2042, allocations: 70.94 kB / 0.6435 GB, free: 8.262 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.2043, allocations: 61.61 kB / 0.6436 GB, free: 8.195 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.2045, allocations: 334.8 kB / 0.6439 GB, free: 7.859 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.2047, allocations: 115.9 kB / 0.644 GB, free: 7.746 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.2049, allocations: 170.2 kB / 0.6442 GB, free: 7.559 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004069/0.2053, allocations: 297.3 kB / 0.6445 GB, free: 7.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2053, allocations: 0 / 0.6445 GB, free: 7.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007697/0.2061, allocations: 413.9 kB / 0.6449 GB, free: 6.836 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.2062, allocations: 11.98 kB / 0.6449 GB, free: 6.824 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.2062, allocations: 0 / 0.6449 GB, free: 6.824 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004389/0.2066, allocations: 101 kB / 0.645 GB, free: 6.723 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/0.2069, allocations: 55.89 kB / 0.645 GB, free: 6.668 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002161/0.209, allocations: 1.875 MB / 0.6468 GB, free: 4.652 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.2093, allocations: 19.91 kB / 0.6469 GB, free: 4.633 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.2093, allocations: 8 kB / 0.6469 GB, free: 4.625 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.0002303/0.2096, allocations: 161.8 kB / 0.647 GB, free: 4.457 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.333e-05/0.2097, allocations: 15.81 kB / 0.647 GB, free: 4.441 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005612/0.2102, allocations: 296 kB / 0.6473 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.2103, allocations: 4 kB / 0.6473 GB, free: 4.141 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.2103, allocations: 0 / 0.6473 GB, free: 4.141 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.2103, allocations: 3.938 kB / 0.6473 GB, free: 4.137 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.2113, allocations: 0.7044 MB / 0.648 GB, free: 3.371 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2113, allocations: 0 / 0.648 GB, free: 3.371 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002981/0.2116, allocations: 59.89 kB / 0.6481 GB, free: 3.312 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.759e-06/0.2116, allocations: 11.88 kB / 0.6481 GB, free: 3.301 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.2116, allocations: 0 / 0.6481 GB, free: 3.301 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.2117, allocations: 4 kB / 0.6481 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2117, allocations: 128 / 0.6481 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006686/0.2123, allocations: 0.5236 MB / 0.6486 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.2125, allocations: 124.8 kB / 0.6487 GB, free: 2.613 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/0.2125, allocations: 4 kB / 0.6487 GB, free: 2.609 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.2127, allocations: 15.98 kB / 0.6487 GB, free: 2.594 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/0.2128, allocations: 7.984 kB / 0.6488 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.2128, allocations: 8 kB / 0.6488 GB, free: 2.578 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001503/0.2129, allocations: 152.1 kB / 0.6489 GB, free: 2.426 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.213, allocations: 0 / 0.6489 GB, free: 2.426 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000379/0.2133, allocations: 64 kB / 0.649 GB, free: 2.363 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.0009696/0.2143, allocations: 1.057 MB / 0.65 GB, free: 1.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007567/0.2151, allocations: 433.6 kB / 0.6504 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.2151, allocations: 0 / 0.6504 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.2153, allocations: 122.9 kB / 0.6505 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.2157, allocations: 37.83 kB / 0.6506 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004092/0.2198, allocations: 2.893 MB / 0.6534 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/0.2202, allocations: 0.7753 MB / 0.6541 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001784/0.2204, allocations: 61.89 kB / 0.6542 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.2206, allocations: 59.42 kB / 0.6543 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of SimCode: time 5.71e-07/0.2206, allocations: 0 / 0.6543 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03099/0.2516, allocations: 5.162 MB / 0.6593 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.982/10.23, allocations: 14.22 kB / 0.6593 GB, free: 7.719 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)